package com.ljf.daily.softwareautorecord.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.ljf.common.model.BasisModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 赚钱软件自动记录金额对象  daily_dat_software_auto_withdrawal
 *
 * @author LJF
 * @since 2025-03-16
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("赚钱软件自动记录金额")
@EqualsAndHashCode(callSuper = true)
@TableName("daily_dat_software_auto_withdrawal")
public class DailyDatSoftwareAutoWithdrawal extends BasisModel {

	private static final long serialVersionUID = 1L;

	/**
	 * Java类型: Long
	 * 数据库类型: bigint
	 * 注释: ID
	 * {@link DailyDatSoftwareAutoWithdrawal#COL_ID}
	 */
	@TableId(value="id", type= IdType.AUTO)
	@JsonProperty("id")
	@ApiModelProperty(value = "ID")
	private Long id;

	/**
	 * Java类型: String
	 * 数据库类型: char(12)
	 * 注释: 编码
	 * {@link DailyDatSoftwareAutoWithdrawal#COL_SOFTWARE_AUTO_CODE}
	 */
	@TableField("software_auto_code")
	@JsonProperty("softwareAutoCode")
	@ApiModelProperty(value = "编码")
	private String softwareAutoCode;

	/**
	 * Java类型: BigDecimal
	 * 数据库类型: decimal(8,2)
	 * 注释: 提现统计
	 * {@link DailyDatSoftwareAutoWithdrawal#COL_WITHDRAWAL_COUNT}
	 */
	@TableField("withdrawal_count")
	@JsonProperty("withdrawalCount")
	@ApiModelProperty(value = "提现统计")
	private BigDecimal withdrawalCount;

	/**
	 * Java类型: Date
	 * 数据库类型: datetime
	 * 注释: 修改时间
	 * {@link DailyDatSoftwareAutoWithdrawal#COL_MODIFY_TIME}
	 */
	@TableField("modify_time")
	@JsonProperty("modifyTime")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	@ApiModelProperty(value = "修改时间")
	private Date modifyTime;


	/**
	 * ID
	 * {@link DailyDatSoftwareAutoWithdrawal#id}
	 */
	public static final String COL_ID = "id";
	/**
	 * 编码
	 * {@link DailyDatSoftwareAutoWithdrawal#softwareAutoCode}
	 */
	public static final String COL_SOFTWARE_AUTO_CODE = "software_auto_code";
	/**
	 * 提现统计
	 * {@link DailyDatSoftwareAutoWithdrawal#withdrawalCount}
	 */
	public static final String COL_WITHDRAWAL_COUNT = "withdrawal_count";
	/**
	 * 修改时间
	 * {@link DailyDatSoftwareAutoWithdrawal#modifyTime}
	 */
	public static final String COL_MODIFY_TIME = "modify_time";

}
